Skip to content

Hooks reflection examples output #4435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 22, 2025
Merged

Hooks reflection examples output #4435

merged 2 commits into from
Feb 22, 2025

Conversation

ADmad
Copy link
Contributor

@ADmad ADmad commented Feb 2, 2025

I have added output for the examples added in #4110. I had to tweak the examples a bit for output readability

@ADmad
Copy link
Contributor Author

ADmad commented Feb 2, 2025

Merge is not an allowed merge method in this repository.
This branch must not contain merge commits.

Not sure what I can do about that. Someone can also cherry pick my commit or use its patch file.

@Girgias
Copy link
Member

Girgias commented Feb 6, 2025

Thank you, I will merge the other PR so you can rebase onto of master.


// But this would set the $age to -2 without error.
$rProp->setRawValue($example, -2);
print $example->age;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we mostly use echo in the manual.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These exist in the previous commit, I'll change all print to echo.

@Girgias
Copy link
Member

Girgias commented Feb 21, 2025

Sorry this took a while, can you rebase on top of master?

@ADmad
Copy link
Contributor Author

ADmad commented Feb 22, 2025

Sorry this took a while, can you rebase on top of master?

Done

@Girgias Girgias merged commit 49ef347 into php:master Feb 22, 2025
2 checks passed
@Girgias
Copy link
Member

Girgias commented Feb 22, 2025

Thank you!

@ADmad ADmad deleted the hooks-reflection branch February 22, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants